"""
    动态生成 电话号码
"""
import random


def create_phone():
    num = '1' + random.choice(['3','5','8'])
    str_num = ''
    # [0 循环9次
    for i in range(9):
        # 随机生成 9 个，1~9
         num += str(random.randint(1,9))
    str_num += num
    return str_num

if __name__ == '__main__':
    print(create_phone())